package com.ctshk.rpc.finance.entity;


import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 财务预收款申请汇总表
 * </p>
 *
 * @author 谢涛
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_finance_advance_payment_apply_summary")
@ApiModel(value="FinanceAdvancePaymentApplySummary对象", description="财务预收款申请汇总表")
public class FinanceAdvancePaymentApplySummary extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "供应商ID")
    private Long supplierId;

    @ApiModelProperty(value = "预收款id")
    private Long advancePaymentId;

    @ApiModelProperty(value = "币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "预收金额")
    private BigDecimal moneyAmount;

    @ApiModelProperty(value = "不可用金额")
    private BigDecimal unavailableAmount;

    @ApiModelProperty(value = "可用金额")
    private BigDecimal availableAmount;

    @ApiModelProperty(value = "已用金额")
    private BigDecimal amountUsed;

    @ApiModelProperty(value = "剩余可用金额")
    private BigDecimal remainingAmount;

    @ApiModelProperty(value = "创建人展示属性")
    private String createUser;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
